// eslint-disable-next-line import/no-unresolved
import { setupWorker } from 'msw/browser';

import orgMockApi from './handlers/_org';
import userMockApi from './handlers/_user';
import systemMockApi from './handlers/_system';
import marketMockApi from './handlers/_market';

const handlers = [...userMockApi, ...orgMockApi, ...systemMockApi, ...marketMockApi];
export const worker = setupWorker(...handlers);
